package org.s3.project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Orders implements Serializable {

    private  int ping_jia;
    private String o_id;
    private long o_number;
    private String u_name;
    private long phone;
    private String m_name;
    private long contact_phone;
    private  String mlongitude;
    private  String mLatitude;
    private  String ulongitude;
    private  String uLatitude;
    private double o_amount;
    private java.sql.Timestamp order_time;
    private java.sql.Timestamp checkout_time;
    private long pay_method;
    private long pay_status;
  private long id;
  private String number;
  private long status;
  private long userId;
  private long addressBookId;
  private java.sql.Timestamp orderTime;
  private java.sql.Timestamp checkoutTime;
  private long payMethod;
  private long payStatus;
  private double amount;
  private String remark;
  private String cancelReason;
  private String rejectionReason;
  private java.sql.Timestamp cancelTime;
  private java.sql.Timestamp estimatedDeliveryTime;
  private long deliveryStatus;
  private java.sql.Timestamp deliveryTime;
  private long packAmount;
  private long tablewareNumber;
  private long tablewareStatus;
    private long d_id;
    private String merchant_refund_reason;
    private String admin_refund_reason;
    private long tablewareStatus;
    // 如果需要使用 merchant_id，在这里添加

    private long merchant_id;

    private String refund_reason;//退款操作原因

    //自设字段名
    private String  nameuser;
    private String  detail;
    private String  namemer;
    private String  today_order_count;


}
